package com.yxs.school.api.mapper;

import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.yxs.school.api.entity.Article;
import com.yxs.school.api.entity.ArticleVo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 文章 Mapper 接口
 * </p>
 *
 * @author whp
 * @since 2019-11-15
 */
@Mapper
public interface ArticleMapper extends BaseMapper<Article> {
    List<ArticleVo> selectByType(@Param("ew") Wrapper<Article> wrapper);
}
